🔍 Слишком медленно или жрёт кучу памяти? Эта статья расскажет, как:
1️⃣ Включить CPU- и heap-профилирование через runwww.tg-me.com/pprof 2️⃣ Анализировать .prof`-файлы командой `go tool pprof (topN, граф, list) 3️⃣ Оптимизировать парсинг и работу с данными: стриминг вместо загрузки всего в память, замена дорогих функций, упрощение структур 4️⃣ Профилировать живой сервер через net/http/pprof и ловить hot-spots «на ходу»
⚡ Результат: время работы сократилось с ~14 до ~7 секунд, память — с 1.7 ГБ до 57 МБ!
🔍 Слишком медленно или жрёт кучу памяти? Эта статья расскажет, как:
1️⃣ Включить CPU- и heap-профилирование через runwww.tg-me.com/pprof 2️⃣ Анализировать .prof`-файлы командой `go tool pprof (topN, граф, list) 3️⃣ Оптимизировать парсинг и работу с данными: стриминг вместо загрузки всего в память, замена дорогих функций, упрощение структур 4️⃣ Профилировать живой сервер через net/http/pprof и ловить hot-spots «на ходу»
⚡ Результат: время работы сократилось с ~14 до ~7 секунд, память — с 1.7 ГБ до 57 МБ!
The STAR Market, as is implied by the name, is heavily geared toward smaller innovative tech companies, in particular those engaged in strategically important fields, such as biopharmaceuticals, 5G technology, semiconductors, and new energy. The STAR Market currently has 340 listed securities. The STAR Market is seen as important for China’s high-tech and emerging industries, providing a space for smaller companies to raise capital in China. This is especially significant for technology companies that may be viewed with suspicion on overseas stock exchanges.
How Does Telegram Make Money?
Telegram is a free app and runs on donations. According to a blog on the telegram: We believe in fast and secure messaging that is also 100% free. Pavel Durov, who shares our vision, supplied Telegram with a generous donation, so we have quite enough money for the time being. If Telegram runs out, we will introduce non-essential paid options to support the infrastructure and finance developer salaries. But making profits will never be an end-goal for Telegram.